package com.sunelec.mapper;

import com.sunelec.pojo.Collector;
import com.sunelec.pojo.CollectorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CollectorMapper {
    int countByExample(CollectorExample example);

    int deleteByExample(CollectorExample example);

    int deleteByPrimaryKey(String collectorId);

    int insert(Collector record);

    int insertSelective(Collector record);

    List<Collector> selectByExample(CollectorExample example);

    Collector selectByPrimaryKey(String collectorId);

    int updateByExampleSelective(@Param("record") Collector record, @Param("example") CollectorExample example);

    int updateByExample(@Param("record") Collector record, @Param("example") CollectorExample example);

    int updateByPrimaryKeySelective(Collector record);

    int updateByPrimaryKey(Collector record);

    List<Collector> selectCollectInfoByPowerId(String powerId);
}